package com.fypg.module.blooddonation.api.client.dal.bloodPlatform;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 献血记录查询响应
 *
 * @author 盘古
 */
@Data
@Schema(description = "献血记录查询响应")
public class DonRecordQueryResp {

    /**
     * 献血者姓名
     */
    @Schema(description = "献血者姓名", example = "张三")
    private String donName;

    /**
     * 性别
     * 1:男 2:女 9:未知
     */
    @Schema(description = "性别：1-男 2-女 9-未知", example = "1")
    private String sex;

    /**
     * 出生日期
     * 格式：yyyy-MM-dd
     */
    @Schema(description = "出生日期", example = "1990-01-01")
    private String birthday;

    /**
     * 血小板献血次数
     */
    @Schema(description = "血小板献血次数", example = "2")
    private String dCount;

    /**
     * 血小板献血量
     * 单位：治疗量
     */
    @Schema(description = "血小板献血量（治疗量）", example = "2")
    private String dVolume;

    /**
     * 全血献血次数
     */
    @Schema(description = "全血献血次数", example = "3")
    private String qCount;

    /**
     * 全血献血量
     * 单位：毫升
     */
    @Schema(description = "全血献血量（毫升）", example = "1200")
    private String qVolume;

    /**
     * 总献血次数
     */
    @Schema(description = "总献血次数", example = "5")
    private String donCount;

    /**
     * 总献血量
     * 单位：毫升（血小板按1治疗量=200毫升换算）
     */
    @Schema(description = "总献血量（毫升）", example = "1600")
    private String volumeTotal;

    /**
     * ABO血型
     * A、B、AB、O
     */
    @Schema(description = "ABO血型", example = "A")
    private String abo;

    /**
     * Rh血型
     * +、-
     */
    @Schema(description = "Rh血型", example = "+")
    private String rh;

    /**
     * 历次献血记录详情
     */
    @Schema(description = "历次献血记录详情")
    private List<DonationRecord> data;
}

